import request from '@/utils/request.js'
let couponApi = {
	/*门店优惠卷-用户*/
	coupons: (data, config) => request.post('/user/coupons', data, config),
	/*门店优惠卷-老板*/
	couponstore: (data, config) => request.post('/user/couponstore', data, config),
	/*发布优惠卷*/
	couponadd: (data, config) => request.post('/user/couponadd', data, config),
	/*优惠券上下架*/
	couponxj: (data, config) => request.post('/user/couponxj', data, config),
	// 优惠卷领取
	couponlq: (data, config) => request.post('/user/couponlq', data, config),
	// 我的优惠卷
	couponuser: (data, config) => request.post('/user/couponuser', data, config),
}
export default couponApi